package com.project.slsx.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.project.slsx.R;
import com.project.slsx.bean.FastPurchaseListBean;

public class FastPurchaseAdapter extends BaseQuickAdapter<FastPurchaseListBean.ResultBean, BaseViewHolder> {
    public FastPurchaseAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder holder, FastPurchaseListBean.ResultBean item) {
        holder.setText(R.id.tv_fast_purchase_name,item.getTitle());
        holder.setText(R.id.tv_fast_purchase_price,item.getPrice());
        holder.setText(R.id.tv_fast_purchase_num,item.getNumber());
    }
}
